
package com.feib.soeasy.dao;

import java.util.List;

import com.feib.soeasy.model.Group;
import com.feib.soeasy.model.RealAccount;
import com.feib.soeasy.pagination.PaginatedList;


/**
 * @title (#)RealAccountDao.java<br>
 * @description <br>
 * @author Jimmy Liu<br>
 * @version 1.0.0 2010/11/25
 * @copyright Far Eastern International Bank Copyright (c) 2010<br>
 * @2011/2/1 create by Jimmy Liu<br>
 */
public interface RealAccountDao extends HibernateDao <RealAccount, Long> {

    /**
     * @param group
     */
    public void deleteByGroup(Group group);

    /**
     * @param realAccount
     * @param paginationConfig
     * @return
     */
    public PaginatedList<RealAccount> queryPaginationByRealAccount(RealAccount realAccount, PaginatedList<RealAccount> paginationConfig);

    /**
     * @param entity
     * @return
     */
    public RealAccount queryByGroupVirtualAccount(RealAccount entity);
    
    // added by julian for soez5008
    public RealAccount queryByVirtualAccount(RealAccount entity);
    
    public List queryByGroup(RealAccount entity);

}
